﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript" src="../../Scripts/jquery-1.2.3.pack.js"></script>
<script type="text/javascript" src="../../Scripts/Jquery/jquery_biggerlink.js"></script>
<script type="text/javascript" src="../../Scripts/Jquery/jquery.jcarousel.js"></script>
<script type="text/javascript" src="../../Scripts/Jquery/jquery.jcarousel.pack.js"></script>
<script type="text/javascript">

    $(document).ready(function() {

//        var locationUrl = window.location.href;
//        var arrUrl = locationUrl.split("/");
//        var TrademarkID = arrUrl[arrUrl.length - 1];
//        var lan = null;
//        $.getJSON('/City/getTrademark/' + TrademarkID, {}, function(j) {

//            var arr = new Array();

//            for (var i = 0; i < j.length; i++) {

//                var values = j[i];
//                arr = values.split('|');
//                var chineseName = arr[0];
//                var japonicName = arr[1];
//                if (japonicName == "" || japonicName == null) {
//                    japonicName = '无';
//                }
//                var englishName = arr[2];

//                var officialweb = arr[6];
//                //alert(officialweb);
//                var shopadd = arr[4];
//                //alert(shopadd);
//                var shoptraffic = arr[8];
//                //alert(shoptraffic);
//                var businesshours = arr[14];
//                //alert(businesshours);
//                var tel = arr[12];
//                //alert(tel);
//                var message = arr[5];
//                //alert(message);
//                
//                
////                var objectcommodity = arr[11];
////                alert(objectcommodity);
////                var preferentialName = arr[12];
////                alert(preferentialName);
////                var preferentialMessage = arr[13];
////                alert(preferentialMessage);
////                var preferentialticket = arr[14];
////                alert(preferentialticket);

//                //document.getElementById("shopLogo").src = logo;
//                $("#chineseName").html(chineseName);
//                $("#shopName").html(chineseName);
//                $("#englishName").html(englishName);
//                $("#japonicName").html(japonicName);
//                $("#businessHours").html(businesshours);
//                $("#shopAdd").html(shopadd);
//                $("#shoptraffic").html(shoptraffic);
//                $("#tel").html(tel);
//                $("#officialweb").html(officialweb);
//                $("#shopMessage").html(message);
//                document.getElementById("CommentaryUrl").href = '/City/Commentary/' + TrademarkID;
//            }

//        })
//        //       图片取得的方法
//        //        $.getJSON('/City/getShopImage', {}, function(j) {
//        //            var arr = new Array();
//        //            for (var i = 0; i < j.length; i++) {
//        //                var valuesImage = j[i];
//        //                arr = valuesImage.split('|');
//        //                alert(valuesImage);
//        //            }
//        //        })

//        //       子店店名取得方法
//        $.getJSON('/City/ShopSubShop/' + TrademarkID, {}, function(json) {
//            var arr = new Array();
//            for (var i = 0; i < json.length; i++) {

//                var shopsubshopvalues = json[i];

//                arr = shopsubshopvalues.split('|');
//                //                for (var j = 0; j < arr.length; j++) {
//                //                    if ((j + 1) % 2 == 0) {
//                //                        document.getElementById("shopsubshop" + (j + 1)).href = arr[j];
//                //                    } else {
//                //                        $("#shopsubshop" + (j + 1)).html(arr[j]);
//                //                    }
//                //                }
//                $("#shopsubshop1").html(arr[0]);

//                document.getElementById("shopsubshop2").href = arr[1];

//                $("#shopsubshop3").html(arr[2]);

//                document.getElementById("shopsubshop4").href = arr[3];

//                $("#shopsubshop5").html(arr[4]);

//                document.getElementById("shopsubshop6").href = arr[5];

//                $("#shopsubshop7").html(arr[6]);

//                document.getElementById("shopsubshop8").href = arr[7];

//            }

//        })

        function mycarousel_initCallback(carousel) {
            // Disable autoscrolling if the user clicks the prev or next button.
            carousel.buttonNext.bind('click', function() {
                carousel.startAuto(0);
            });

            carousel.buttonPrev.bind('click', function() {
                carousel.startAuto(0);
            });

            // Pause autoscrolling if the user moves with the cursor over the clip.
            carousel.clip.hover(function() {
                carousel.stopAuto();
            }, function() {
                carousel.startAuto();
            });
        };

        $(function() {

            $('#links tr').biggerlink();

        })

        jQuery('#mycarousel').jcarousel({
            auto: 10,
            wrap: 'last',
            initCallback: mycarousel_initCallback
        });

    })

</script>

<table border="0" cellpadding="0" cellspacing="0" width="970" align="center">
<tr>
    <td>
            <table align="center" cellpadding="0" cellspacing="0" border="0" width="970">
                <tr>
                    <td align="right" style="border-style: none; border-color: inherit; border-width: medium; background-image:url('../../Content/img/shop/81/03/11/TopicTradmark.gif'); " 
                        class="style5">
                        <table align="left" cellpadding="0" cellspacing="0" border="0" width="698px">
                            <tr>
                                <td width="240px">
                                    <a  href="../../City/CityDetail"><span>返回</span></a>
                                    <a  href="../../City/Prospect"><span>景观页</span></a>
                                    <a  href="../../City/Cabaret"><span>住宿页</span></a>
                                    <a  href="../../TrademarkInformation/TrademarkEnregister"><span>商户注册页</span></a>
                                    <a href="../../City/NewTrademark">新商户页</a>
                                </td>
                            </tr>
                        </table>          
                    </td>
                    <td>
                        <img src="../../Content/img/public/map_toppic.jpg" 
                            style="border-style: none; border-color: inherit; border-width: medium; width: 272px;"/>
                        </td>
                        </tr>
             </table>
       </td>
    </tr>
    <tr valign="top">
         <td valign="top">
            <table border="0" cellpadding="0" cellspacing="0" width="950px" style="position:relative;left:8px">
                <tr>
                <!--左边信息开始-->
                    <td valign="top">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <!--商店信息开始-->
                            <tr>
                                <td>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <table border="0" cellpadding="0" cellspacing="0">
                                                 <!--商户店名开始-->
                                                    <tr>
                                                        <td>
                                                            <b>商户名称</b>:测试一店
                                                        </td>
                                                    </tr>
                                                 <!--商户店名结束-->
                                                 <!--商户评分开始-->
                                                    <tr>
                                                        <td>
                                                             已有2位网友评分  网友纠错 |  商户管理与推广 
                                                        </td>
                                                    </tr>
                                                 <!--商户评分结束-->
                                                 <!--商户标签开始-->
                                                    <tr>
                                                        <td>
                                                            <b>标签</b>：川菜  |  朋友聚餐  |  休闲  　［编辑］ 请添加标签      
                                                        </td>
                                                    </tr>
                                                 <!--商户标签结束-->
                                                 <!--商户地址开始-->
                                                    <tr>
                                                        <td>
                                                          <b>  地址</b>：江苏路121号（武定西路口）
                                                        </td>
                                                    </tr>
                                                 <!--商户地址结束-->
                                                 <!--商户电话开始-->
                                                    <tr>
                                                        <td>
                                                            <b> 电话</b>：52371977    进入企业官网 
                                                        </td>
                                                    </tr>
                                                 <!--商户电话结束-->
                                                </table>
                                            </td>
                                            <td width="100px"></td>
                                            <td>
                                            <!--商户场景图开始-->
                                                <table border="0" cellpadding="0" cellspacing="0" style="position:relative;top:10px">
                                                    <tr>
                                                        <td colspan="2">
                                                            <img src="../../Content/img/shop/81/03/1/logo.JPG" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            添加图片
                                                        </td>
                                                        <td align="right">
                                                            浏览全部
                                                        </td>
                                                    </tr>
                                                </table>
                                             <!--商户场景图结束-->
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <!--商店信息结束-->
                            <!--商户优惠信息开始-->
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td><b>测试商店优惠信息:</b></td>
                                            <td>这里写上优惠信息!</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <!--商户优惠信息结束-->
                            <tr>
                                <td><br /></td>
                            </tr>
                            <!--备注开始-->
                            <tr>
                                <td>
                                    <b>备注:</b>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    测试商店的备注信息,先写出来做做样子!
                                </td>
                            </tr>
                            <!--备注结束-->
                            <tr>
                                <td><br /></td>
                            </tr>
                            <!--商户介绍开始-->
                            <tr>
                                <td>
                                    <b>测试商店介绍:</b>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    松坂屋百货（Matuszakaya）可是日本最古老的百货商店，从1611年开业至今，总店在名古屋，而银座这家也是银座地区的第一家百货商场。聚集了多个最受日本人欢迎的国际品牌，定位更为高雅成熟，给长辈买礼物来这里肯定不会错。除了时装，他们的日用杂货也很棒，你肯定能找到最有日本特色的日用品，而且品质有保证。同样松坂屋有中文的服务人员，可以放心使用银联卡和visa卡
                                </td>
                            </tr>
                            <!--商户介绍结束-->
                            <tr>
                                <td><br /></td>
                            </tr>
                            <!--商户图片开始-->
                            <tr>
                                <td>
                                    <div id="wrap" style="height: 150px; width: 160px">
                                        <ul id="mycarousel" class="jcarousel-skin-tango">
                                            <li><img src="../../Content/img/shop/81/03/2/1/1.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/2/1.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/3/2.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/2/2.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/1/1.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/1/2.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/1/3.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/4/1.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/4/2.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                            <li><img src="../../Content/img/shop/81/03/2/4/3.JPG" style="height: 125px; width: 140px" alt="" /></li>
                                        </ul>
                                    </div>
                                    <br />
                                </td>
                            </tr>
                            <!--商户图片结束-->
                            <tr>
                                <td><br /></td>
                            </tr>
                            <!--商户优惠详细信息开始-->
                            <tr>
                                <td>
                                   <b> 商店优惠详细信息</b>
                                </td>
                            </tr>
                            <!--商户优惠详细信息结束-->
                            <tr>
                                <td><br /></td>
                            </tr>
                            <!--商户分店信息开始-->
                            <tr>
                                <td>
                                  <b>  分店信息</b>
                                </td>
                            </tr>
                            <!--商户分店信息结束-->
                            <tr>
                                <td><br /></td>
                            </tr>
                            <!--商户评论开始-->
                            <tr>
                                <td style="background-color:#99B3CC" width="100%" height="5px">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td align="left">
                                                &nbsp;评论    
                                            </td>
                                            <td align="right">
                                            <table>
                                                <tr>
                                                    <td>
                                                        <a href="../../City/Commentary">我要评论</a>
                                                        <a href="../../City/Commentary">查看全部点评</a>
                                                    </td>
                                                </tr>
                                            </table>        
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td>
                                    评论测试1
                                </td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td bgcolor="#D0CED1" align="center" width="100%"></td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td>
                                    评论测试2
                                </td>
                            </tr>
                            
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td bgcolor="#D0CED1" align="center" width="100%"></td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td>
                                    评论测试3
                                </td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td bgcolor="#D0CED1" align="center" width="100%"></td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td>
                                    评论测试4
                                </td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td bgcolor="#D0CED1" align="center" width="100%"></td>
                            </tr>
                            <tr>
                                <td><br /></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <a href="../../City/Commentary"><input type="button" value="我要点评" /></a>
                                </td>
                            </tr>
                            <!--商户评论结束-->
                        </table>
                    </td>
                <!--左边信息结束-->
                    <td width="50px"></td>
                <!--右边地图热点信息开始-->
                    <td valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" style="position:relative;right:-7px">
                            <tr>
                                <td valign="top">
                                   <img  src="../../Content/img/public/map.jpg" style="height: 310px; width: 271px"/> 
                                </td>
                            </tr>
                        </table>
                    </td>
                <!--右边地图热点信息结束-->
                </tr>
            </table>
        </td>
    </tr>
</table>

</asp:Content>
